package com.yun.zf.common.app.dto.detail;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class HouseRentInfoDto {
    @ApiModelProperty(value = "租期要求起期")
    @NotNull(message = "租期要求起期不能为空")
    private Integer leaseStart;

    @ApiModelProperty(value = "租期要求止期")
    @NotNull(message = "租期要求止期不能为空")
    private Integer leaseEnd;

    @ApiModelProperty(value = "租客要求，卖房不显示此项，上班族，仅限女生等")
    private String requirement;

    @ApiModelProperty(value = "附加要求")
    private String extraRequirement;


    @ApiModelProperty(value = "租期单位，月，年")
    @NotBlank(message = "单位不能为空")
    private String unit;

    @ApiModelProperty(value = "卧室类型 ，如果是合租必选 1主卧 ，2次卧")
    private Integer bedroomType;

    @ApiModelProperty(value = "选择合租，出租卧室是否有阳台")
    private String isBalcony;

    @ApiModelProperty(value = "选择合租，出租卧室是否有独卫")
    private String isToilet;
}
